﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x0200035D RID: 861
	public class TTeradataWithClauseItem : TParseTreeNode
	{
		// Token: 0x17000796 RID: 1942
		// (get) Token: 0x060023BD RID: 9149 RVA: 0x00337C69 File Offset: 0x00335E69
		// (set) Token: 0x060023BE RID: 9150 RVA: 0x00337C71 File Offset: 0x00335E71
		public virtual TOrderByItemList ByItemList
		{
			get
			{
				return this.byItemList;
			}
			set
			{
				this.byItemList = value;
			}
		}

		// Token: 0x17000797 RID: 1943
		// (get) Token: 0x060023BF RID: 9151 RVA: 0x00337C7A File Offset: 0x00335E7A
		// (set) Token: 0x060023C0 RID: 9152 RVA: 0x00337C82 File Offset: 0x00335E82
		public virtual TExpressionList ExprList
		{
			get
			{
				return this.exprList;
			}
			set
			{
				this.exprList = value;
			}
		}

		// Token: 0x060023C1 RID: 9153 RVA: 0x00337C8B File Offset: 0x00335E8B
		public override void init(object arg1, object arg2)
		{
			this.exprList = (TExpressionList)arg1;
			if (arg2 != null)
			{
				this.byItemList = (TOrderByItemList)arg2;
			}
		}

		// Token: 0x060023C2 RID: 9154 RVA: 0x00337CA8 File Offset: 0x00335EA8
		public override void doParse(TCustomSqlStatement psql, ESqlClause plocation)
		{
			if (this.exprList != null)
			{
				this.exprList.doParse(psql, plocation);
			}
			if (this.byItemList != null)
			{
				this.byItemList.doParse(psql, plocation);
			}
		}

		// Token: 0x04001BE0 RID: 7136
		private TExpressionList exprList;

		// Token: 0x04001BE1 RID: 7137
		private TOrderByItemList byItemList;
	}
}
